package com.hst.capacity.facade.rest;

import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.ClassUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.json.JSON;
import cn.hutool.json.JSONUtil;
import com.hst.capacity.domain.common.constants.Constants;
import com.hst.capacity.domain.model.request.driver.DriverSearchParam;
import com.hst.capacity.domain.model.response.DefaultVO;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

import java.io.IOException;
import java.lang.reflect.Field;
import java.net.URL;

import static com.hst.capacity.domain.model.response.DefaultVO.success;

/**
 * 系统常量定义获取
 */
@RequestMapping("/constant")
@RestController
public class ConstantsController {
    /**
     * 查询所有订单状态
     */
    @PostMapping("/orderstatus")
    private DefaultVO orderStatus() throws IllegalAccessException, InstantiationException, IOException {
        return success("开发中");
    }
    /**
     * 查询所有支付状态
     */
    @PostMapping("/paystatus")
    private DefaultVO payStatus() throws IllegalAccessException, InstantiationException, IOException {
        return success("开发中");
    }
    /**
     * 查询所有订单来源值
     */
    @PostMapping("/ordersource")
    private DefaultVO orderSource() throws IllegalAccessException, InstantiationException, IOException {
        return success("开发中");
    }

}
